@import "./common.styl"
html, body {
  height: 100%;
  min-width: 1200px;
  margin: 0px;
  padding: 0px !important;
  //overflow: hidden;
  overflow-y hidden;
  overflow-x auto
  font-family: PingFangSC-Regular, Helvetica, BlinkMacSystemFont, Arial, Verdana, 'Microsoft YaHei','WenQuanYi Micro Hei', sans-serif;
  -webkit-font-smoothing: antialiased;
  /*font-weight: 200;*/
  font-size: 12px;
  color: $cf-gray0;
  outline: none;
}
body.login-loading {
  background: url('./logo_loading.gif') no-repeat 50% 50%;
  background-size: 0.8 0.8;
}
.oem_7moor {
  display none
}
body.oem-background.login-loading {
  background: none
}
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, p, blockquote, th, td, [contenteditable=true] {
  margin: 0;
  padding: 0;
  outline: none;
}
h2, h3, h4, h5, h6 {
  font-size: 14px;
  line-height: 20px;
  font-weight: normal;
}
p{
  line-height: 1.5;
}
div {
  display: block;
}
.hidden {
  display: none;
}
a{
  color: $c-main;
  text-decoration: none;
}
a:hover {
  cursor: pointer;
}
.clear {
  clear: both;
  height: 0;
}
.clearbt{
  clear: both;
}
.clearfix:after{
  content: " ";
  display: inline-block;
  height: 0;
  clear: both;
  visibility: hidden;
}
//  clearfix   在线咨询不是很适用   增加clearboth方法    qyg
.clearBoth:before,.clearBoth:after{
  content:"";
  display:block
}
.clearBoth:after{
  clear:both;
}
ul,ol,li{
  list-style-type: none;
}
.fl{
  float: left;
}
.fr{
  float: right;
}
.clear10{
  height: 10px
  clear: both
}
.pd20
  padding 20px
// 饿了吗 切换回当前页有外框
:focus
  outline none
input,button,select,textarea,a{outline:none!important;}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-corner {
  background-color: #fff;
}
::-webkit-scrollbar-thumb {
  background-color: #cbcbcb;
  border: solid 2px #cbcbcb;
  border-radius: 4px;
}
::-webkit-scrollbar-track-piece {
  background-color: #fff;
  -webkit-border-radius: 4px;
}
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill{
  background-color:#fff;
  background-image: none;
  color: $cf-gray0;
  box-shadow: 0 0 0 1000px #fff inset;
}
audio::-internal-media-controls-download-button {
    display:none;
    opacity: 0;
    z-index: -1;
    position: fixed;
}
audio::-webkit-media-controls {
    overflow: hidden !important;
    border-radius: 6px;
}
audio::-webkit-media-controls-enclosure {
    width: calc(100% + 32px);
    margin-left: auto;
}
.fake-checkbox
  position absolute
  z-index 9
  top 12px
  left 6px
  line-height 18px
  color #c0c0c0
  cursor pointer
  input[type = checkbox]
    opacity 0
    position absolute
    z-index -10
  span
    display inline-block
    float left
    width 10px
    height 10px
    margin-right 7px
    border-radius 6px
    overflow hidden
    border 1px solid #bebebe
    /*background #fff*/
    position relative
  input[type = checkbox]:checked + span
    border-color $c-main
    background $c-main
  input[type = checkbox]:checked + span:after
    box-sizing content-box
    content ""
    border 1px solid #fff
    border-left 0
    border-top 0
    height 6px
    left 3px
    position absolute
    top 1px
    -ms-transform rotate(45deg) scaleY(0)
    transform rotate(45deg) scaleY(1)
    width 3px
    transition transform .15s cubic-bezier(.71,-.46,.88,.6) .05s
    -ms-transform-origin center
    transform-origin center
  /*input[type = checkbox]:checked + span:after
    border-color #fff*/
span.smsTemplateVar
  display inline-block
  border 0
  border-bottom 1px solid $c-main
  min-width 3em
  margin 0 3px
  line-height 18px
  word-break break-all
  color $c-main
  text-align center
td.cdr-status
  &:before
    content: ''
    position absolute
    width 10px
    height 10px
    top 50%
    margin-top -5px
    margin-left -14px
    border-radius 50%
td.cdr-green
  &:before
    background #a1e036
td.cdr-red
  &:before
    background-color #ff6c65
td.cdr-orange
  &:before
    background-color #f69222
  /* 在线咨询消息树中的消息 颜色修改  改为黑色 */
.chat_message_con_text a, .in a {
  color:$cf-gray0;
  text-decoration: underline;
  margin-left: 5px;
}
/*富文本的最左边距暂时强制为0，不然会被遮挡*/
.ql-snow .ql-tooltip
  left: 0 !important;
  z-index: 999;
/* 定位到客户&新增客户 */
/* 批处理公用样式 */
.fake-label
  visibility hidden
  position absolute
  top 0
  left 6px
  z-index 20
.visible .fake-label
  visibility visible
  width 330px
  height 60px
  margin -25px 0 0 -8px
.phon .visible .fake-label
  height 86px
  margin -10px 0 0 -15px
.webchat_card .visible .fake-label
  height 75px
.email_card_li .visible .fake-label
  height 92px
.card-list
  /*label
    visibility hidden*/
  /*label.visible
    visibility visible*/
.batch
  display none
  align-items center
  width calc(100vw - 57px - 10px)
  width -webkit-calc(100vw - 57px - 10px)
  width -moz-calc(100vw - 57px - 10px)
  height 40px
  padding-left 10px
  background rgba(255,255,255,1)
  position fixed
  z-index 1990
  right 0
  bottom 0
  box-shadow: 1px -2px 7px rgba(0,0,0,0.1)
  font-size 12px
  color $cf-gray4
  /*label
    visibility visible!important*/
  .count
    position absolute
    top 11px
    right 18px
    b
      color $c-main
.batch .iconfont
  color #a6a6a6
  margin-right 5px
  font-size 18px
.option
  display inline-block
  height 40px
  cursor pointer
.option:hover
  color $cf-gray1
  .iconfont
    color $c-main
.batch [class^='el-icon']
  color $c-main
  font-size 12px
  cursor pointer
.batch.show
  display flex
.batch_cover
  width 340px
  height 80px
  position fixed
  top 52px
  left 56px
  background hsla(0,0%,100%,0.3)
  z-index 100
  cursor not-allowed
  .maska
    float right
    display block
    width 200px
    height 56px
    background #f7f7f7
  .maskb
    float left
    display block
    width 100%
    height 51px
    background #fafafa
//导航展开状态
.navMenuState.batch_cover
  left 120px
.batch.navMenuState
  width calc(100vw - 120px - 10px)
.batch_btm
  height 25px
.webchat-card .batch_btm
  height 60px
.email-card .batch_cover
  height 40px
/* 右下角tab切换内容间距 */
.el-tab-pane>.plan, .el-tab-pane>.contact-paln, .el-tab-pane>.change-log, .el-tab-pane>.detail-wrap,.km-detail .public, .questionContent, .questionHistory
  padding 20px 20px 0
  box-sizing border-box
/* 公共按钮底色以及max-width */
.btn-paleBlue
  background #7acdd1
.btn-orange
  background #f7a525
.btn-green
  background #1aba9e
.btn-darkRed
  background #e47470
.btn-blue
  background #009fe3
.btn-gray
  background #999
.btn-purple
  background #cb9be4
.btn-paleBlue,.btn-orange,.btn-purple,.btn-darkRed,.btn-blue,.btn-gray.btn-green
  max-width 5em
  text-overflow ellipsis
  overflow hidden
  white-space  nowrap
/* 细体字 */
.lighter
  font-weight lighter
/* 粗字体 */
.bolder
  font-weight 500
/*知识库鼠标移上几个功能按钮的显隐控制*/
.cata
  .add
    i
      display none
.cata:hover
    background-color #e8f5fc
    .add
      i
        display inline
/*business*/
.business-dialog.business-tab.el-row
  padding 0
.bus-info-main .icon-fujian.is-disabled:before
  color #999
.el-radio.business-priority2
  .el-radio__label
    padding-left 5px
    &:before
      content '! '
      color $cf-color0
.el-radio.business-priority3
  .el-radio__label
    padding-left 5px
    &:before
      content '!!! '
      color $priority3
.card-priority3
  position: relative
  &:before
    content ''
    position absolute
    display inline-block
    border-top 16px solid $priority3
    border-right 16px solid transparent
.card-priority2
  &:before
    content ''
    position absolute
    display inline-block
    left 0
    top 0
    border-top 16px solid $priority2
    border-right 16px solid transparent
/*弹窗里无head的切换上间距*/
.userPicDialog .el-dialog__body .el-tabs{
  position: relative;
  z-index: 0;
  margin-top: -45px;
}
.userPicDialog .el-dialog__close{
  position: relative;
  z-index: 1
}
/*知识库内侧图片最大宽度*/
.contentDetails .content img{
  max-width: 100%;
}
.novice-circle-group {
  position: absolute;
  top: -10px;
  right:5px;
  bottom: 0;
  z-index: 2;
  transform: scale(.6,.6);
}
.novice-circle-group .novice-circle4 {
  margin: 0 0 0 -13px;
  width: 26px;
  height: 26px;
  border: solid 2px #ff9100;
  border-radius: 100%;
  opacity: 0;
  -webkit-animation: circle4 2s ease-in-out infinite;
  animation: circle4 2s ease-in-out infinite;
  transform-origin: center;
}
.novice-circle-group .novice-circle3 {
  margin: -25px 0 0 -9px;
  width: 20px;
  height: 20px;
  background-color: #ff9100;
  border-radius: 100%;
  opacity: .3;
  -webkit-animation: circle3 2s ease-in-out infinite;
  animation: circle3 2s ease-in-out infinite;
}
.novice-circle-group .novice-circle2 {
  margin: -18px 0 0 -6px;
  width: 12px;
  height: 12px;
  background-color: #ff9100;
  border: solid 2px #ff9100;
  border-radius: 100%;
  -webkit-animation: circle2 2s ease-in-out infinite;
  animation: circle2 2s ease-in-out infinite;
}
.novice-circle-group .novice-circle1 {
  position: relative;
  margin: -9px 0 0 0px;
  width: 4px;
  height: 4px;
  border-radius: 100%;
  background-color: #ff9100;
  -webkit-animation: circle1 2s ease-in-out infinite;
  animation: circle1 2s ease-in-out infinite;
}
@keyframes circle4 {
0% {
	    transform: scale(1);
	    opacity: 1;
	}
50% {
	    transform: scale(0);
	    opacity: .6;
	}
100% {
	    transform: scale(1);
	    opacity: 1;
	}
}
@keyframes circle3 {
  0% {
    transform: scale(1.3);
    opacity: 0;
  }
  50% {
    transform: scale(1);
    opacity: .3;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}
@keyframes circle2 {
  0% {
    opacity: .5;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: .5;
  }
}
@keyframes circle1 {
  0% {
    background-color: #AAC7FF;
  }
  50% {
    background-color: #fff;
  }
  100% {
    background-color: #AAC7FF;
  }
}
.novice-boot-box-wrap:hover .novice-wrap {
  display:block;
}
/*设置模块*/
//.ui-index .config-iframe {
//  width 100%
//  height calc(100vh - 53px)
//}
/*左侧导航*/
.nav-box
  .router-link-active+.nav-masking
    position absolute
    left 0
    top 0
    width 100%
    height 100%

/*知识库评论图片大小设置*/
.km-detail
  .comment
    .editor-content
      img{
        max-height 120px
        max-width 200px
        cursor pointer
      }
      ol.ollist li
        list-style-type decimal!important
      ul.ullist li
        list-style-type disc!important
/*复选select样式重置*/
select[multiple]
  margin-top 10px
  width 100%
  height 140px
  border 1px solid #dcdfe6
  border-radius 6px
  option
    font-size 12px
    line-height 2em
    padding 5px 10px
  option:checked
    background-color $c-main
/*机器人设置*/
.robot-question-dialog
  .normal-answer
    img
      max-width 100%
.robot-chatbox
  img
    max-width 100%
.relevant-question
  .el-radio__label
    display: none
 /*二次弹出框，遮罩class*/
.zhezhao
  position fixed
  top 0px
  left 0
  right 0
  bottom 0
  background $cf-gray0
  opacity .5
  z-index 12
.hide-zhezhao
  display none

/*富文本H1-H5字体大小*/
.km-detail
  .w-e-text,.editor-content,.content
    h1
      font-size 30px
      line-height 30px
    h2
      font-size 24px
      line-height 24px
    h3
      font-size 20px
      line-height 20px
    h4
      font-size 18px
      line-height 18px
    h5
      font-size 16px
      line-height 16px
.loading-footer
  height 28px
  @keyframes loading-1
    50%
      transform: scale(0.2);
      opacity: 0.3;
    100%
      transform: scale(1);
      opacity: 1;
  .loading-1
    position: relative;
  .loading-1 i
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: absolute;
    background: #ccc;
  .loading-1 i:nth-child(1)
    top: 8px;
    left: 130px;
    -webkit-animation: loading-1 1s ease 0s infinite;
  .loading-1 i:nth-child(2)
    top: 8px;
    left: 150px;
    -webkit-animation: loading-1 1s ease 0.20s infinite;
  .loading-1 i:nth-child(3)
    top: 8px;
    left: 170px;
    -webkit-animation: loading-1 1s ease 0.40s infinite;
.iframe-wrap
  height calc(100vh - 171px)
.moreIframe-wrap
  height calc(100vh - 247px)  
.businessesSelect
  margin: 10px;  
.iframe-con
  width 100%
  height 100%
.font12
  font-size: 12px
  line-height: 16px
.font14
  font-size: 14px
  line-height: 18px
.font16
  font-size: 16px
  line-height: 20px
.font18
  font-size: 18px
  line-height: 24px
.font24
  font-size: 24px
  line-height: 28px
.ellipsis
  text-overflow ellipsis
  overflow hidden
  white-space  nowrap
// 富文本预览table样式
.content-html
  table
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    td,th
      border-bottom: 1px solid #ccc;
      border-right: 1px solid #ccc;
      padding: 3px 5px;
    th
      border-bottom: 2px solid #ccc;
      text-align: center;